﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using SharedCongkak;

namespace Congkak
{
    public abstract class GameState
    {
        protected GameplayScreen gamePlay;
        protected ILevel level;
        public GameState(GameplayScreen gamePlay)
        {
            this.gamePlay = gamePlay;
            this.level = gamePlay.ScreenManager.Game.Services.GetService(typeof(ILevel)) as ILevel;
        }
        public virtual void HandleInput(InputState input, PlayerIndex? ControllingPlayer) { }
        public virtual void Update(GameTime gameTime){}
        public virtual void Draw() {}
    }
}
